import React, { useState, useEffect } from "react";
import Taro, { getCurrentInstance } from "@tarojs/taro";
import { View, Text } from "@tarojs/components";
import css from "./index.module.less";

export default function Index(props) {
  console.log(props);
  return (
    <View className={css.app}>
        <image src={props.avatar} />
        <View className={css.title}>
          <View>{props.username}</View>
          <View>{props.title}</View>
        </View>
    </View>
  )
}
